Ultra-Modular Optimization